import request from '@/utils/request.js'
//提交球桌结算支付
export const pay = (data) => {
  return request({
    url: '/pcpay',
    method: 'post',
    data
  })
}
//余额充值
export const recharge = (data) => {
  return request({
    url: '/pay',
    method: 'post',
    data
  })
}
//充值后等待处理
export const wait = (data) => {
  console.log(data)
  return request({
    url: '/pay/notify',
    method: 'post',
    data
  })
}

//余额支付
export const payForBanlance = (data) => {
  return request({
    url: '/pay/balance',
    method: 'post',
    data
  })
}
